

#死循环

import time

t1 = time.time()
count0 = 0
while True:
    if count0 == 10000000:
        break
    count0 +=1
print("count0",time.time()-t1,count0)

t2 = time.time()
count1 = 0
while count1 < 10000000:
    count1 += 1
print("count1",time.time()-t2,count1)